package com.itheima.service.store;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.store.Syslog;

import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;


public interface SyslogService {

    void save(Syslog syslog);

    void delete(String id);

    void update(Syslog syslog);

    List<Syslog> findAll();

    Syslog findById(String id);
    PageInfo findAll(int page, int size);


    void deleteSelected(String[] ids);

    void getReport() throws IOException;

    PageInfo<Syslog> findByMethodName(int page ,int size ,String methodName);
}
